package com.youi.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 导出订单VO
 * @Author: winty
 * @Date: 2020/4/20 9:53
 */
@Data
@ExcelTarget(value = "exportOrderVO", height = 14.0)
public class ExportOrderVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主订单号
     */
    @Excel(name = "主订单号", width = 19)
    private String topOrderNo;

    /**
     * 订单号
     */
    @Excel(name = "订单号", width = 19)
    private String orderNo;
    /**
     * 下单时间
     */
    @Excel(name = "下单时间", format = "yyyy-MM-dd HH:mm:ss", width = 16)
    private Date gmtOrder;
    /**
     * 商家名称
     */
    @Excel(name = "商家名称", width = 20)
    private String merchantName;
    /**
     * 商家编码
     */
    @Excel(name = "商家编码", width = 10)
    private String merchantCode;
    /**
     * 订单状态(-1已关闭 0待付款 1待发货 2待收货 3待评价 4已完成 5售后)
     */
    private Integer status;

    @Excel(name = "状态", width = 10)
    private String statusTxt;
    /**
     * 订单id
     */
    @Excel(name = "序号", width = 10)
    private Long orderId;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 商品名称
     */
    @Excel(name = "商品名称", width = 20)
    private String goodsName;
    /**
     * 商品编码
     */
    @Excel(name = "商品代码", width = 11)
    private String goodsNo;
    /**
     * 商品分类编码
     */
    @Excel(name = "分类编码", width = 10)
    private String goodsTypeCode;

    private String goodsTypeName;
    /**
     * 商品规格
     */
    @Excel(name = "规格", width = 10)
    private String specification;
    /**
     * 市场价
     */
    @Excel(name = "商品市场价", width = 10)
    private Double ecPrice;
    /**
     * 售价
     */
    @Excel(name = "商品售价", width = 10)
    private Double salePrice;
    /**
     * 支付金额
     */
    @Excel(name = "支付金额", width = 10)
    private Double payableAmount;
    /**
     * 商品数量
     */
    @Excel(name = "数量", width = 8)
    private Integer count;
    /**
     * 收货人
     */
    @Excel(name = "顾客姓名", width = 10)
    private String consignee;
    /**
     * 收货电话
     */
    @Excel(name = "顾客手机", width = 12)
    private String phone;
    /**
     * 配送方式
     */
    @Excel(name = "配送方式", width = 12)
    private String deliveryType;
    /**
     * 快递公司
     */
    @Excel(name = "快递公司", width = 12)
    private String express;
    /**
     * 快递单号
     */
    @Excel(name = "快递单号", width = 15)
    private String expressNo;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String district;
    /**
     * 详细地址
     */
    @Excel(name = "收货地址", width = 50)
    private String address;
}
